﻿using System;
using System.Data.Linq.Mapping;

namespace vurfu.DataContracts
{
    [Table(Name = "StaticGroups")]
    public class StaticGroup
    {
        [Column(Name = "GroupId", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true)]
        public string GroupId { get; set; }

        [Column(Name = "GroupDescription", DbType = "NVarChar(MAX) NOT NULL", CanBeNull = false)]
        public string GroupDescription { get; set; }

        [Column(Name = "CreationTime", DbType = "DateTime NOT NULL", CanBeNull = false)]
        public DateTime CreationTime { get; set; }

        [Column(Name = "Active", DbType = "Bit NOT NULL", CanBeNull = false)]
        public bool? Active { get; set; }
    }
}
